package org.gdufe.pojos.vo;

import java.io.Serializable;

//分页返回结果
public class PageResponseResult extends R implements Serializable {
    private Integer currentPage;
    private Integer size;
    private Integer total;

    @Override
    public String toString() {
        return "PageResponseResult{" +
                "currentPage=" + currentPage +
                ", size=" + size +
                ", total=" + total +","+
                super.toString()+
                '}';
    }

    public PageResponseResult(Integer currentPage, Integer size, Integer total) {
        this.currentPage = currentPage;
        this.size = size;
        this.total = total;
    }

    public PageResponseResult() {

    }


    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
